<?php

include './test.php';
//服务器和数据库信息
$servername = "localhost";
$username = "root";
$password = "";
$dbName = "taodb";
$tableName  = "users";
 
// 创建连接
// $conn = new fff\ff($servername, $username, $password, $dbName);



// $sql = "UPDATE $tableName set id = 20 where id = 10";

// $sql = "SHOW KEYS FROM $tableName WHERE Key_name = 'PRIMARY'";

// $result = $conn->query($sql);
// // var_dump($result->num_rows);
// // var_dump($result);
// while($row = $result->fetch_assoc()){
//   var_dump($row);
// }
